package com.eascs.web.o2o.scheduler.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the o2o_organ database table.
 * 
 */
@Entity
@Table(name="o2o_organ")
@NamedQuery(name="O2oOrgan.findAll", query="SELECT o FROM O2oOrgan o")
public class O2oOrgan implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="node_no")
	private int nodeNo;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="create_date")
	private Date createDate;

	@Column(name="creator_no")
	private int creatorNo;

	@Column(name="dept_code")
	private String deptCode;

	@Column(name="is_del")
	private String isDel;

	@Column(name="modifier_no")
	private int modifierNo;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="modify_date")
	private Date modifyDate;

	private String namecn;

	@Column(name="node_code")
	private int nodeCode;

	@Column(name="node_id_path")
	private String nodeIdPath;

	@Column(name="parent_no")
	private int parentNo;

	public O2oOrgan() {
	}

	public int getNodeNo() {
		return this.nodeNo;
	}

	public void setNodeNo(int nodeNo) {
		this.nodeNo = nodeNo;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public int getCreatorNo() {
		return this.creatorNo;
	}

	public void setCreatorNo(int creatorNo) {
		this.creatorNo = creatorNo;
	}

	public String getDeptCode() {
		return this.deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public String getIsDel() {
		return this.isDel;
	}

	public void setIsDel(String isDel) {
		this.isDel = isDel;
	}

	public int getModifierNo() {
		return this.modifierNo;
	}

	public void setModifierNo(int modifierNo) {
		this.modifierNo = modifierNo;
	}

	public Date getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getNamecn() {
		return this.namecn;
	}

	public void setNamecn(String namecn) {
		this.namecn = namecn;
	}

	public int getNodeCode() {
		return this.nodeCode;
	}

	public void setNodeCode(int nodeCode) {
		this.nodeCode = nodeCode;
	}

	public String getNodeIdPath() {
		return this.nodeIdPath;
	}

	public void setNodeIdPath(String nodeIdPath) {
		this.nodeIdPath = nodeIdPath;
	}

	public int getParentNo() {
		return this.parentNo;
	}

	public void setParentNo(int parentNo) {
		this.parentNo = parentNo;
	}

}